package com.balance.mapper.sys.balance_counter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 系统参数表
 * </p>
 *
 * @author dong
 * @since 2025-04-01
 */
@TableName("sys_config")
@ApiModel(value = "SysConfig对象", description = "系统参数表")
public class SysConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 参数ID
     */
    @ApiModelProperty("参数ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 参数名称
     */
    @ApiModelProperty("参数名称")
    private String configName;

    /**
     * 参数键名
     */
    @ApiModelProperty("参数键名")
    private String configKey;

    /**
     * 参数键值
     */
    @ApiModelProperty("参数键值")
    private String configValue;

    /**
     * 系统内置(1:是,0:否)
     */
    @ApiModelProperty("系统内置(1:是,0:否)")
    private Byte configType;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getConfigName() {
        return configName;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public String getConfigKey() {
        return configKey;
    }

    public void setConfigKey(String configKey) {
        this.configKey = configKey;
    }

    public String getConfigValue() {
        return configValue;
    }

    public void setConfigValue(String configValue) {
        this.configValue = configValue;
    }

    public Byte getConfigType() {
        return configType;
    }

    public void setConfigType(Byte configType) {
        this.configType = configType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "SysConfig{" +
        "id = " + id +
        ", configName = " + configName +
        ", configKey = " + configKey +
        ", configValue = " + configValue +
        ", configType = " + configType +
        ", remark = " + remark +
        ", createTime = " + createTime +
        ", updateTime = " + updateTime +
        "}";
    }
}
